home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10757 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.interport.net!usenet
  2. From: yaron@interport.net (Adi)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: TSR in Windows
  5. Date: Sun, 10 Mar 1996 05:31:18 GMT
  6. Organization: Interport Communications Corp.
  7. Message-ID: <4htf1l$6c7@park.interport.net>
  8. References: <4hohh2$5m7@news.galileo.net>
  9. NNTP-Posting-Host: yaron.port.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. jason_graham@sdt.com wrote:
  13.  
  14. >I was curious if anyone could help me on this problem.  I need to have
  15. >a TSR that becomes active every 15 minutes,  I know how to make this
  16. >work in the DOS world by (getvect, setvect) so forth using clock
  17. >interrupts.  How do I get this to work in Windows 3.11 or Windows 95?
  18.  
  19. >  Thanks...
  20.  
  21. >--  jason_graham@sdt.com
  22. >-- SDT
  23.  
  24.  
  25. In the Windows world, this task can be achieved by writing an
  26. application that run as an icon or hidden window (your choice).
  27. The application should track WM_TIMER messages after initializing a
  28. timer. That`s all. If the WM_TIMER response code finds out that 15
  29. minutes are over, it should have the app`s window restored.
  30.  
  31. Adi Degani
  32.  
  33.  
  34.  
  35.